package com.zhijian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhijian.entity.Note;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;

@Mapper
public interface NoteMapper extends BaseMapper<Note> {
    
    // 根据条件分页查询笔记
    List<Note> list(Map<String,Object> map);
    
    // 获取总记录数
    Long getTotal(Map<String,Object> map);
} 